<?php if($_GET['pg'] == 'categories' && $_GET['id'] == '2'){
    include 'corporate.php';
} elseif ($_GET['pg'] == 'categories' && $_GET['id'] != '2') {
    include 'categorii.php';
} elseif ($_GET['pg'] == 'pages'){
    include 'pagini.php';
} elseif ($_GET['pg'] == 'news'){
    include 'news.php';
} elseif ($_GET['pg'] == 'top'){
    include 'top.php';
} elseif ($_GET['pg'] == 'offers'){
    include 'oferte.php';
} elseif ($_GET['pg'] == 'search' || $_GET['pg'] == 'news_trends') {
    include 'search.php';
} elseif ($_GET['pg'] == 'sitemap'){
    include 'sitemap.php';
} else {
    include 'home.php';
}
?>